package com.whut.customer.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whut.customer.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-01-23
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> getRoleMenus(@Param("roleId") Long userId);

    List<SysMenu> selectMenuList(@Param("menu") SysMenu menu);
}
